package com.ayf.payment.game.api.entity.platform;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "t_payment_channel_rate")
public class PaymentChannelRate {
    /**
     * 通道ID
     */
    @Column(name = "payment_channel_id")
    private Integer paymentChannelId;

    /**
     * 业务ID
     */
    @Column(name = "payment_business_id")
    private Integer paymentBusinessId;

    /**
     * 业务名
     */
    @Column(name = "payment_business_name")
    private String paymentBusinessName;

    /**
     * 业务编码
     */
    @Column(name = "payment_business_code")
    private String paymentBusinessCode;

    /**
     * 更新时间
     */
    @Column(name = "last_update_time")
    private Date lastUpdateTime;

    /**
     * 支付费率
     */
    @Column(name = "payment_rate")
    private String paymentRate;
    /**
     * 状态 1 可用 0 不可用
     */
    @Column(name = "status")
    private Integer status;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPaymentChannelId() {
        return paymentChannelId;
    }

    public void setPaymentChannelId(Integer paymentChannelId) {
        this.paymentChannelId = paymentChannelId;
    }

    public Integer getPaymentBusinessId() {
        return paymentBusinessId;
    }

    public void setPaymentBusinessId(Integer paymentBusinessId) {
        this.paymentBusinessId = paymentBusinessId;
    }

    public String getPaymentBusinessName() {
        return paymentBusinessName;
    }

    public void setPaymentBusinessName(String paymentBusinessName) {
        this.paymentBusinessName = paymentBusinessName;
    }

    /**
     * 获取更新时间
     *
     * @return last_update_time - 更新时间
     */
    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    /**
     * 设置更新时间
     *
     * @param lastUpdateTime 更新时间
     */
    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }


    /**
     * 获取支付费率
     *
     * @return payment_rate - 支付费率
     */
    public String getPaymentRate() {
        return paymentRate;
    }

    /**
     * 设置支付费率
     *
     * @param paymentRate 支付费率
     */
    public void setPaymentRate(String paymentRate) {
        this.paymentRate = paymentRate;
    }

    public String getPaymentBusinessCode() {
        return paymentBusinessCode;
    }

    public void setPaymentBusinessCode(String paymentBusinessCode) {
        this.paymentBusinessCode = paymentBusinessCode;
    }
}